home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
et
/
src
/
_debug.c
< prev
next >
Wrap
Text File
|
1993-07-08
|
573b
|
35 lines
#include "et.h"
#include "etc.h"
void custom(int *ram_p, int *menu_i_p, int *ps_r_p, unsigned *f_p)/*et*/
{
#ifdef o_I
*ps_r_p = o_I;
#endif
#ifdef o_M
*menu_i_p = o_M + '0';
#endif
#ifdef o_V
set_bit(*f_p, f_VIEW);
#endif
#ifdef o_R
set_bit(*f_p, f_RND);
#endif
#ifdef o_S
set_bit(*f_p, f_SV);
res_bit(*f_p, f_GPH);
#endif
#ifdef o_T
set_bit(*f_p, f_GPH);
res_bit(*f_p, f_SV);
#endif
#ifdef o_U
res_bit(*f_p, f_SV|f_GPH);
#endif
#ifdef o_W
*ram_p = o_W;
#endif
#ifdef o_X
set_bit(*f_p, f_EXG);
#endif
}